<?php
/**
 * Core_Controller_Moduledata
 * module data controller
 * @author Adrian Stolarski
 */
class Core_Controller_Moduledata implements Core_Controller_Mainable {
    
    /**
     *
     * @var type $module_data
     * module data model handler
     */
    public $module_data;
    
    /**
     * contructor()
     */
    public function __construct() {
        $this->module_data = new Core_Model_Moduledata;
    }
    
    /**
     * main()
     * get all modules data
     * 
     * @param array $variables
     */
    public function main(array $variables = null) {
        //var_dump($variables);
        //die();
       return $this->module_data->main($variables); 
    }

}
